#
# Copyright (C) [2024] Xingyun Integrated Circuit, Inc.
#
#   GreenCode was a private technology asset of Xingyun Integrated Circuit， Inc （Confidential）
#   Author :  Shawn.Tan
#   Date : 2025.10.28
#
#   History : Initial Version 2025.10.28
#
#


def get_reset_pc():
    return 0x50000000


def get_initial_pc(thread_id):
    return get_base_initial_pc() + thread_id * get_initial_pc_offset()


def get_boot_pc(thread_id):
    return get_base_boot_pc() + thread_id * get_boot_pc_offset()


def get_reset_region_size():
    return 0x40


def get_boot_region_size():
    return 0x1000


def get_base_initial_pc():
    return 0x80011000


def get_base_boot_pc():
    return 0x80000000


def get_initial_pc_offset():
    return 0x1000000


def get_boot_pc_offset():
    return 0x100000
